package hn.cch.chat_room_boot.controller;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class IndexController {

    private final static Logger logger= LoggerFactory.getLogger(IndexController.class);

    /**
     * 首页
     * @return
     */
    @RequestMapping(value="/",method= RequestMethod.GET)
    public String index(){
        logger.info("index");
        return "login";
    }
}
